package com.jbit.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单表(DmOrder)实体类
 *
 * @author makejava
 * @since 2023-07-22 08:48:15
 */
public class DmOrder implements Serializable {
    private static final long serialVersionUID = 870052477216040724L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 订单编号
     */
    private String orderno;
    /**
     * 下单用户Id
     */
    private Long userid;
    /**
     * 排期ID
     */
    private Long schedulerid;
    /**
     * 剧集Id(冗余)
     */
    private Long itemid;

    private String itemname;
    /**
     * 微信交易号
     */
    private String wxtradeno;
    /**
     * 支付宝交易号
     */
    private String alitradeno;
    /**
     * 订单类型(0:未支付 -1:支付超时/支付取消 2:已支付)
     */
    private Integer ordertype;
    /**
     * 支付类型(1:微信支付 2：支付宝支付)
     */
    private String paytype;
    /**
     * 购买数目
     */
    private Integer totalcount;

    private Long area;
    /**
     * 0:WEB端 1:手机端 2:其他客户端
     */
    private Integer sourcetype;
    /**
     * 是否需要发票（0：不需要 1：需要）
     */
    private Integer isneedinvoice;
    /**
     * 发票类型（0：个人 1：公司）
     */
    private Integer invoicetype;
    /**
     * 发票抬头
     */
    private String invoicehead;
    /**
     * 发票号
     */
    private String invoiceno;
    /**
     * 是否需要保险(0：不需要 1:需要)
     */
    private Integer isneedinsurance;
    /**
     * 总价
     */
    private Object totalamount;
    /**
     * 保险金额
     */
    private Object insuranceamount;
    /**
     * 创建时间
     */
    private Date createdtime;
    /**
     * 更新时间
     */
    private Date updatedtime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getSchedulerid() {
        return schedulerid;
    }

    public void setSchedulerid(Long schedulerid) {
        this.schedulerid = schedulerid;
    }

    public Long getItemid() {
        return itemid;
    }

    public void setItemid(Long itemid) {
        this.itemid = itemid;
    }

    public String getItemname() {
        return itemname;
    }

    public void setItemname(String itemname) {
        this.itemname = itemname;
    }

    public String getWxtradeno() {
        return wxtradeno;
    }

    public void setWxtradeno(String wxtradeno) {
        this.wxtradeno = wxtradeno;
    }

    public String getAlitradeno() {
        return alitradeno;
    }

    public void setAlitradeno(String alitradeno) {
        this.alitradeno = alitradeno;
    }

    public Integer getOrdertype() {
        return ordertype;
    }

    public void setOrdertype(Integer ordertype) {
        this.ordertype = ordertype;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype;
    }

    public Integer getTotalcount() {
        return totalcount;
    }

    public void setTotalcount(Integer totalcount) {
        this.totalcount = totalcount;
    }

    public Long getArea() {
        return area;
    }

    public void setArea(Long area) {
        this.area = area;
    }

    public Integer getSourcetype() {
        return sourcetype;
    }

    public void setSourcetype(Integer sourcetype) {
        this.sourcetype = sourcetype;
    }

    public Integer getIsneedinvoice() {
        return isneedinvoice;
    }

    public void setIsneedinvoice(Integer isneedinvoice) {
        this.isneedinvoice = isneedinvoice;
    }

    public Integer getInvoicetype() {
        return invoicetype;
    }

    public void setInvoicetype(Integer invoicetype) {
        this.invoicetype = invoicetype;
    }

    public String getInvoicehead() {
        return invoicehead;
    }

    public void setInvoicehead(String invoicehead) {
        this.invoicehead = invoicehead;
    }

    public String getInvoiceno() {
        return invoiceno;
    }

    public void setInvoiceno(String invoiceno) {
        this.invoiceno = invoiceno;
    }

    public Integer getIsneedinsurance() {
        return isneedinsurance;
    }

    public void setIsneedinsurance(Integer isneedinsurance) {
        this.isneedinsurance = isneedinsurance;
    }

    public Object getTotalamount() {
        return totalamount;
    }

    public void setTotalamount(Object totalamount) {
        this.totalamount = totalamount;
    }

    public Object getInsuranceamount() {
        return insuranceamount;
    }

    public void setInsuranceamount(Object insuranceamount) {
        this.insuranceamount = insuranceamount;
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getUpdatedtime() {
        return updatedtime;
    }

    public void setUpdatedtime(Date updatedtime) {
        this.updatedtime = updatedtime;
    }

}

